package com.cskaoyan.service.wxorder;

import com.cskaoyan.bean.MallOrderGoods;
import com.cskaoyan.model.bo.order.CommentBO;
import com.cskaoyan.model.bo.wxorder.WxOrderBO;
import com.cskaoyan.model.bo.wxorder.WxOrderIdBO;
import com.cskaoyan.model.vo.wxcart.WxCheckoutTotalVo;
import com.cskaoyan.model.vo.wxorder.WxSubmitVO;
import com.cskaoyan.model.vo.wxorder.detail.DetailVO;
import com.cskaoyan.model.vo.wxorder.list.OrderListVO;

/**
 * @program: project-market
 * @description: wxOrder
 * @author: shiyue
 * @create: 2021/12/2 14:50
 **/

public interface WxOrderService {
    OrderListVO getlist(WxOrderBO bo);

    DetailVO getDetail(Integer orderId);

    int cancel(WxOrderIdBO orderId);

    int deleteOrder(WxOrderIdBO orderId);

    int confirmOrder(WxOrderIdBO bo);

    int refundOrder(WxOrderIdBO orderId);

    MallOrderGoods goodsWhenComment(Integer orderId,Integer goodsId);

    int commentOrder(CommentBO commentBO);

    WxSubmitVO submitOrder(WxCheckoutTotalVo vo, String msg);
}
